using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
using System.Xml.Serialization;

namespace AutoRuParser
{
  public partial class AutoObject
  {
    private int id;
    private string model;
    private string modification;
    private string year;
    private string price;
    private string haul;
    private string vengine;
    private string power;
    private string condition;
    private string city;
    private DateTime updatedate;
    private DateTime shelllife;
    private DateTime creationdate;
    private string url;
    private string status;

    public AutoObject()
    {
    }

    [XmlAttribute("id")]
    public int Id
    {
      get { return id; }
      set { this.id = value; }
    }

    [XmlAttribute("model")]
    public string Model
    {
      get { return model; }
      set { this.model = value; }
    }

    [XmlAttribute("modification")]
    public string Modification
    {
      get { return modification; }
      set { this.modification = value; }
    }
    [XmlAttribute("year")]
    public string Year
    {
      get { return year; }
      set { this.year = value; }
    }

    [XmlAttribute("price")]
    public string Price
    {
      get { return price; }
      set { this.price = value; }
    }

    [XmlAttribute("haul")]
    public string Haul
    {
      get { return haul; }
      set { this.haul = value; }
    }

    [XmlAttribute("vengine")]
    public string Vengine
    {
      get { return vengine; }
      set { this.vengine = value; }
    }

    [XmlAttribute("power")]
    public string Power
    {
      get { return power; }
      set { this.power = value; }
    }

    [XmlAttribute("condition")]
    public string Condition
    {
      get { return condition; }
      set { this.condition = value; }
    }

    [XmlAttribute("city")]
    public string City
    {
      get { return city; }
      set { this.city = value; }
    }

    [XmlAttribute("updatedate")]
    public DateTime Updatedate
    {
      get { return updatedate; }
      set { this.updatedate = value; }
    }

    [XmlAttribute("shelllife")]
    public DateTime Shelllife
    {
      get { return shelllife; }
      set { this.shelllife = value; }
    }

    [XmlAttribute("creationdate")]
    public DateTime Creationdate
    {
      get { return creationdate; }
      set { this.creationdate = value; }
    }

    [XmlAttribute("url")]
    public string Url
    {
      get { return url; }
      set { this.url = value; }
    }

    [XmlAttribute("status")]
    public string Status
    {
      get { return status; }
      set { this.status = value; }
    }
  }

}
